From b4791bb2ff31af0cf37942d72987f1c18099ca4d Mon Sep 17 00:00:00 2001 From: Paolo Borelli Date: Tue, 10 Jun 2008 12:21:58 +0000 Subject: [PATCH] gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri) use 2008-06-10 Paolo Borelli * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri) use g_file_new_for_uri. svn path=/trunk/; revision=20347 --- ChangeLog | 5 +++++ gtk/gtkfilechooser.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 425e36d039..4ce726a4bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-10 Paolo Borelli + + * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri) + use g_file_new_for_uri. + 2008-06-10 Paolo Borelli * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c index cd513a577f..2f089c581b 100644 --- a/gtk/gtkfilechooser.c +++ b/gtk/gtkfilechooser.c @@ -954,7 +954,7 @@ gtk_file_chooser_set_current_folder_uri (GtkFileChooser *chooser, g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), FALSE); g_return_val_if_fail (uri != NULL, FALSE); - file = g_file_new_for_path (uri); + file = g_file_new_for_uri (uri); result = _gtk_file_chooser_set_current_folder_file (chooser, file, NULL); g_object_unref (file); -- 2.30.2